package com.zhang.publicproject.common.service;


import com.zhang.publicproject.common.conf.Constants;
import com.zhang.publicproject.common.httputils.HttpManager;
import com.zhang.publicproject.module.bean.BaseBean;

import java.util.Map;

/**
 * Created by 李鸿达 on 2016/11/28.
 */

public class ComicServer {

    public static String host = Constants.URLS.BASEURL;


    public static void descError(String index,String timeStamp, Map map, RxSubscribe<BaseBean> subscriber) {


        HttpManager.getInstance(host).doHttpRequest(HttpManager.getInstance(host).getHttpService().test(index,timeStamp,map)
                , subscriber);
    }
    public static void aa(String index,String timeStamp, Map map, RxSubscribe<BaseBean> subscriber) {


        HttpManager.getInstance(host).doHttpRequest(HttpManager.getInstance(host).getHttpService().test(index,timeStamp,map)
                , subscriber);
    }

}
